<%@ page language="java" contentType="text/html; charset=utf8"
    pageEncoding="utf8" import="com.AO.DAO.*" import="java.util.*"%>
<!DOCTYPE html>
<!-- saved from url=(0049)http://foodfood/category/?full=1#cat731 -->
<html  class=""><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  
	
    <title>分类浏览_下厨房</title>

    <link  href="./files/favicon.ico"  rel="shortcut icon"  type="image/x-icon">

<link  href="./files/base.d706c3c6.compress.css"  rel="stylesheet"  type="text/css">

	
<link  href="./files/other.0b3c792c.compress.css"  rel="stylesheet"  type="text/css">


<style  type="text/css"></style></head>



<body  style="">



<div  class="popup-layer">

  
  <div  class="reveal-modal-bg"></div>
  

  
<div  class="reveal-modal large normal-font"  id="feedbackModal">
  
  <div  class="reveal-modal-title-bar">
    <div  class="reveal-modal-title">意见反馈</div>
    <a  href="javascript:void(0)"  class="close-reveal-modal"  rel="nofollow"></a>
  </div>
  <div  class="reveal-modal-main">
    
    

  
  
  </div>

</div>


</div>

<div  class="topbar-outer">
  <div  class="topbar-container">
    <div  class="topbar">
      



  <div  class="pure-g">
    <div  class="pure-u-1-6">
      <a  href="/foodfood/AOHomePage..action" class="logo"><img src="./files/logo.png"></a>
    </div>
    <div  class="pure-u-5-6">
      <div  class="pure-g">
        <div  class="pure-u-11-24">
          <form class="search" action="/foodfood/Search.action">
                                 <input type="text" name="keyword" class="typeahead float-left" data-default-text="" value="" placeholder="菜谱、食材">
                                 <input type="hidden" name="type" value="fmf">
                                 <input type="submit" value="搜索" class="button float-left">
                                </form>
        </div>
        <div  class="pure-u-1-3">
          <ul  class="site-nav plain pure-g">
            <li  class="pure-u"><a  href="/foodfood/AOHomePage..action"  data-ga-event="公共页面/导航栏/$text">首页</a></li>
            <li  class="topbar-cats pure-u">
            <a  href="/foodfood/AOMenu..action"  class="block-link"  data-ga-event="公共页面/导航栏/$text"><span>菜谱分类</span></a>
            <%MaterialFoodTypesDAO daoindex=new MaterialFoodTypesDAO();
									FoodTypesDAO daofindex=new FoodTypesDAO();
									List<MaterialFoodTypes>listindex=daoindex.findByMaterialFoodTypeLevel(1);
									List<FoodTypes>listfindex=daofindex.findByFoodTypeLevel(1); 
									MaterialFoodOfSeasonDAO dao5index=new MaterialFoodOfSeasonDAO();
									List<MaterialFoodOfSeason>list5index=dao5index.findAll();%>
										<div class="topbar-cats-submenu hidden">
											<div class="topbar-cats-submenu-bg">

												<ul class="plain">
													<li class="topbar-cat-head">常用主题</li>
													<% int k=0;for(FoodTypes ft:listfindex)
								                    {if(k++==8)break;%>
													<li><a
														href="/foodfood/AOFoodMenu.<%=ft.getFoodTypeId() %>.action"
														title="<%=ft.getFoodTypeName() %>菜谱大全" data-ga-event="公共页面/导航栏/$text"><%=ft.getFoodTypeName() %></a>
													</li>
													<%} %>
												</ul>
												<ul class="plain">
												   <li class="topbar-cat-head">常见食材</li>
												   <% k=0;for(MaterialFoodTypes ft:listindex)
								                    {if(k++==8)break;%>													
													<li><a href="/foodfood/AOMfoodMenu.<%=ft.getMaterialFoodTypeId() %>.action"
														title="<%=ft.getMaterialFoodTypeName() %>做法大全" data-ga-event="公共页面/导航栏/$text"><%=ft.getMaterialFoodTypeName() %></a>
													</li>
												   <%} %>
												</ul>
												<ul class="plain">
													<li class="topbar-cat-head">时令食材</li>
													<%k=0;for(MaterialFoodOfSeason mfos:list5index)						    
									               {if(k++==8)break;%>
													<li><a href="/foodfood/AOMfood.<%=mfos.getMaterialFood().getMaterialFoodId() %>.action"
														title="<%=mfos.getMaterialFood().getMaterialFoodName() %>做法大全" data-ga-event="公共页面/导航栏/$text"><%=mfos.getMaterialFood().getMaterialFoodName() %></a>
												   <%} %>
												</ul>
												<div class="topbar-cats-submenu-bottom">
													<a href="/foodfood/AOMenu..action"
														data-ga-event="公共页面/导航栏/$text">查看全部分类</a>
												</div>

											</div>
										</div>
            </li>
            <li  class="pure-u"><a  href="/foodfood/AOFoodInMenuList..action"  data-ga-event="公共页面/导航栏/$text">菜单</a></li>
          </ul>
        </div>
        <div  class="pure-u-5-24 clearfix">

          <div  class="user-action">
              	<div class="user-action">
	              <%
						String account = (String)session.getAttribute("account");
						String nickname = (String)session.getAttribute("nickname");
					    	
		              	if(nickname!=null)
		           		{
					%>
					<a href="/foodfood/AOCooker.<%=account%>.action"><%=nickname%></a>
					<a onclick="logout()" href="index.jsp">退出</a>
					<%
						}
		               	else
		               	{
					%>
					<a href="register.jsp" data-ga-event="公共页面/导航栏/$text">注册</a> <a
						href="login.jsp" data-ga-event="公共页面/导航栏/$text">登录</a>&nbsp;&nbsp;
					<%
						}
					%>
	
	          </div>
          </div>
        </div>
      </div>
    </div>
  </div>


    </div>
  </div>
</div>


<div  class="page-outer">
  
  <div  class="page-container">
    
    
	
	<h1  class="page-title">分类浏览</h1>
	<div  class="white-bg p40 font13">
                     <img alt="" src="./files/f.png">
            <div  class="cates-list clearfix has-bottom-border pb20 mb20">
                <div  class="cates-list-mini clearfix ">
                <%int i=0;for(FoodTypes ft:daofindex.findByFoodTypeLevel(1)){if(i++==6){break;}%>
                <ul  class="  clearfix">
                        <li  class="cates-list-first clearfix">
                           <%=ft.getFoodTypeName() %>                           
                        </li>
                        <%int j=0;for(FoodTypes ft2:ft.getFoodTypeses()){if(j++==4){break;}%>
                        <li><a  href="/foodfood/AOFoodMenu.<%=ft2.getFoodTypeId() %>.action"><%=ft2.getFoodTypeName() %></a></li>
                       <%} %>
                    </ul>    
                    <%} %>              
                    <div  class="cates-list-more clearfix"><em  class="cates-close-em">&nbsp;</em><a  href="javascript:;"  class="close">展开全部</a></div>
                </div>
           <div  class="cates-list-all clearfix hidden"> 
     <%for(FoodTypes ft:daofindex.findByFoodTypeLevel(1)){%>                

                
                    <h4  class="font14"  id="cat52343">
                         <%=ft.getFoodTypeName() %>
                    </h4>
                    <ul  class=" has-bottom-border">
                         <%for(FoodTypes ft2:ft.getFoodTypeses()){%>
                            <li  id="cat40076"><a  href=/foodfood/AOFoodMenu.<%=ft2.getFoodTypeId() %>.action"><%=ft2.getFoodTypeName() %></a>
                            </li>
                         <%} %>
                    </ul>              
             <%} %>
                <div  class="cates-list-more clearfix pt10"><em  class="cates-open-em">&nbsp;</em><a  href="javascript:;"  class="open">收起</a></div>
              </div>
            </div>
            <img alt="" src="./files/m.png">
             <div  class="cates-list clearfix has-bottom-border pb20 mb20">
                <div  class="cates-list-mini clearfix ">
                <%i=0;for(MaterialFoodTypes ft:daoindex.findByMaterialFoodTypeLevel(1)){if(i++==6){break;}%>
                <ul  class="  clearfix">
                        <li  class="cates-list-first clearfix">
                           <%=ft.getMaterialFoodTypeName() %>                           
                        </li>
                        <%int j=0;for(MaterialFoodTypes ft2:ft.getMaterialFoodTypeses()){if(j++==4){break;}%>
                        <li><a  href="/foodfood/AOMfoodMenu.<%=ft2.getMaterialFoodTypeId() %>.action"><%=ft2.getMaterialFoodTypeName() %></a></li>
                       <%} %>
                    </ul>    
                    <%} %>              
                    <div  class="cates-list-more clearfix"><em  class="cates-close-em">&nbsp;</em><a  href="javascript:;"  class="close">展开全部</a></div>
                </div>
           <div  class="cates-list-all clearfix hidden"> 
            <%for(MaterialFoodTypes ft:daoindex.findByMaterialFoodTypeLevel(1)){%>                

                
                    <h4  class="font14"  id="cat52343">
                         <%=ft.getMaterialFoodTypeName() %>
                    </h4>
                    <ul  class=" has-bottom-border">
                         <%for(MaterialFoodTypes ft2:ft.getMaterialFoodTypeses()){%>
                            <li  id="cat40076"><a  href=/foodfood/AOMfoodMenu.<%=ft2.getMaterialFoodTypeId() %>.action"><%=ft2.getMaterialFoodTypeName() %></a>
                            </li>
                         <%} %>
                    </ul>              
             <%} %>
                <div  class="cates-list-more clearfix pt10"><em  class="cates-open-em">&nbsp;</em><a  href="javascript:;"  class="open">收起</a></div>
              </div>
            </div>
	</div>
    

  </div>
  
</div>

<div  class="bottom-outer">
  <div  class="bottom-container">
   
  </div>
</div>




  
  <script  type="text/javascript"  src="./files/jquery.min.js"></script>

<script  type="text/javascript"  src="./files/2013.anonymous.0a0601dc.compress.js"></script><img  id="scrollTop"  src="./files/scroll_top.png"  style="opacity: 1; position: fixed; width: 50px; height: auto; z-index: 20; border: 0px; padding: 0px; bottom: 20px; right: 20px; margin: 0px; cursor: pointer; display: none;">


<div  id="color_timer"></div>





</body></html>